package com.catl.plc.test;//package com.catl.swap.plc.test;
//
//import com.catl.swap.plc.handler.ModbusEntity;
//import com.catl.swap.plc.meta.*;
//import lombok.Data;
//import lombok.ToString;
//import lombok.experimental.Accessors;
//
//@PlcInfo(registerType= RegisterTypeEnums.H04,size = 2)
//@Data
//@ToString
//@Accessors(chain = true)
//public class ReadEntity implements ModbusEntity {
//    @PlcField(comment="1号寄存器",offset =40001,length=1,bit=-1)
//    private int zero;
//
//    @PlcField(comment="2,3号寄存器",offset =40002,length=2,bit=-1)
//    private long one_two;
//
//    @PlcField(comment="4号寄存器",offset =40004,length=1,bit=-1,
//            operate=@PlcOperate(handle = PlcHandleEnums.MUL,beHandle = 10)
//    )
//    private int three;
//
//    @PlcField(comment="5号寄存器",offset =40005,length=1,bit=-1)
//    private int four;
//
//    @PlcField(comment="5.0号寄存器",offset =40005,length=1,bit=0)
//    private int fourBit0;
//
//    @PlcField(comment="5.1号寄存器",offset =40005,length=1,bit=1)
//    private int fourBit1;
//
//    @PlcField(comment="7号寄存器",offset =40007,length=1,bit=-1)
//    private int six;
//
//}
